use crate::SharedState;
use axum::routing::get;
use axum::Router;
pub mod mp;

/// 公众号路由
pub fn router(shared_state: SharedState) -> Router {
    Router::new()
        .route("/mp", get(mp::get_mp).post(mp::post_mp))
        .with_state(shared_state)
}
